Home:ALL Converter>How to deploy a Django production server on IBM Cloud?

How to deploy a Django production server on IBM Cloud?

Ask Time:2018-04-08T06:15:05         Author:María Victoria

Json Formatter

I want to know how to deploy a Django production server on IBM Cloud.

Right now I have a Cloud Foundry Python app running without problems. But I'm using python manage.py runserver to start the app on the cloud.

There is a way to run the app without using the django server? Like, how we do running that kind of apps using Apache o Nginx web servers.

UPDATE:

I tried using the Procfile and gunicorn, but it gives me an error when it starts gunicorn. This is my Procfile.

web: gunicorn my_app.wsgi --workers 2

And the error

ERR Starting gunicorn 18.0

I am using python 3.6 and django 1.11

Author:María Victoria,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/49712468/how-to-deploy-a-django-production-server-on-ibm-cloud
yy